import static org.junit.Assert.*;

import net.narusas.aceauction.push.db.GoodsSearchDAO;
import net.narusas.aceauction.push.model.Device;

import org.junit.Test;

public class SQLGeneration {

	@Test
	public void test() {
		GoodsSearchDAO goods = new GoodsSearchDAO();
		Device device = new Device();
		device.setPushToken("af9b71a44d951eb787430072e9deabc203dca654a5b315828c724c4c14c21d7a");
		device.setType("iOS");
		device.setAreaCode(10);
		device.setAreaCode2("중계동");
		device.setAreaCode3("무지게연립");
		System.out.println(goods.generateSQL(device));

	}

}
